//
//  RemoteControllerWrapper.h
//  MultiScreens
//
//  Created by apple on 15-1-12.
//  Copyright (c) 2015年 skyworth.digital. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DlnaItemCapsule.h"

typedef NS_ENUM(NSUInteger, TouchScreenEvent){
    TOUCH_EVENT_KEY_1 = 2,
    TOUCH_EVENT_KEY_2 = 3,
    TOUCH_EVENT_KEY_3 = 4,
    TOUCH_EVENT_KEY_4 = 5,
    TOUCH_EVENT_KEY_5 = 6,
    TOUCH_EVENT_KEY_6 = 7,
    TOUCH_EVENT_KEY_7 = 8,
    TOUCH_EVENT_KEY_8 = 9,
    TOUCH_EVENT_KEY_9 = 10,
    TOUCH_EVENT_KEY_0 = 11,
    TOUCH_EVENT_KEY_ENTER = 28,
    TOUCH_EVENT_KEY_HOME = 102,
    TOUCH_EVENT_KEY_UP,
    TOUCH_EVENT_KEY_LEFT = 105,
    TOUCH_EVENT_KEY_RIGHT,
    TOUCH_EVENT_KEY_DOWN = 108,
    TOUCH_EVENT_KEY_VOLUMEDOWN = 114,
    TOUCH_EVENT_KEY_VOLUMEUP = 115,
    TOUCH_EVENT_KEY_MENU = 139,
    TOUCH_EVENT_KEY_BACK = 158,
};

@protocol RemoteControllerDelegate <NSObject>

-(void)OnRCSAdded:(DlnaDevice*)device;
-(void)OnRCSRemoved:(DlnaDevice*)device;
@end



@interface RemoteControllerWrapper : NSObject
@property (strong,nonatomic) id<RemoteControllerDelegate> delegate;
@property (strong,nonatomic) NSValue *touchScreenBoundaryValue;
+(RemoteControllerWrapper*)sharedRC;
-(void)start;
-(void)stop;
-(BOOL)setCurRCS:(NSString*)uuid;
-(void)setInputDevicesStates;
-(void)setTouchScreenEvent:(TouchScreenEvent)event;
-(void)setTouchScreenEventWithPoint:(CGPoint)point ScreenSize:(CGSize)size;
-(void)tryGetTouchScreenBoundary;

@end
